﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.App
{
    public enum ISMPushType
    {
        kPushTypeFriendRequest = 0,
        kPushTypePrivateMessage = 1
    }
    [ProtoBuf.ProtoContract]
    public class ISMPushContent
    {
        [ProtoBuf.ProtoMember(1)]
        public ISMPushType type { get; set; }
        [ProtoBuf.ProtoMember(2)]
        public string receiverId { get; set; }
        [ProtoBuf.ProtoMember(3)]
        public string fromId { get; set; }
        [ProtoBuf.ProtoMember(4)]
        public string icon_url { get; set; }
        [ProtoBuf.ProtoMember(5)]
        public string title { get; set; }
        [ProtoBuf.ProtoMember(6)]
        public string context { get; set; }
        [ProtoBuf.ProtoMember(7)]
        public string state { get; set; }
    }
}
